// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Vuex from 'vuex'
import App from './App'
import VueLazyload from 'vue-lazyload'


import router from './router'
// import jsonP from'@/assets/js/jsonP.js'

// class
import '@/assets/css/reset.css'
import '@/assets/css/common.css'
import '@/assets/css/iconfont.css'


// js
import '@/assets/js/rem.js'

import { parseTime } from './utils'


Vue.use(Vuex);

Vue.use(VueLazyload,{
  loading:require('@/assets/img/default_pic.jpg')
});


Vue.filter('parseTime', parseTime)


Vue.config.productionTip = false
// Vue.prototype.$jsonP     = jsonP;

const store = require("@/store").default;


/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
